package com.gitee.shigen.lucene.service;

import com.gitee.shigen.lucene.vo.Content;
import java.util.List;

/**
 * @author shigenfu
 */
public interface LuceneService {

    Long save(List<Content> contentList);

    void deleteById(String id);

    void deleteAll();

    List<Content> search(String[] fields, String keyword, int page, int pageSize);

    Content getDocumentById(String id);

    List<Content> getFakeData(Integer count);
}
